import request from '@/utils/request'

export function login(data) {
  return request({
    url: 'user/login',
    method: 'post',
    data:data
  })
}

export function getInfo(data) {
  return request({
    url: 'Router/List',
    method: 'post',
    data: data
  })
}

export function logout(data) {
  return request({
    url: 'user/LoginOut',
    method: 'post',
    data:data
  })
}
